<div class="sidebar">
    <div class="welcome">
        <h2>Welcome my website!</h2>
        <a href="#" title="phongmohinh.com">phongmohinh.com</a>
        <p>
            <span class="title">Yahoo</span>
            <span class="yahooid">qing_jie_qiu@yahoo.com</span>
            <span><img src="images/online.png" width="64" height="16" /></span><span class="hotline">Hotline</span>
            <span class="phone">0904.12.06.83</span>
        </p>
    </div>
    <div class="block-sidebar">
    	<form action="<?= $this->baseUrl('/site/search/') ?>" name="frmSearch" id="frmSearch" method="post" class="frmSearch">
            <h3>Tìm kiếm</h3>
            <fieldset>
                <p>
                    <label>
                        Từ khóa
                    </label>
                    <input type="text" value="<?php echo $this->key ?>" name="txtSearch" id="txtSearch" class="input-text" />
                </p>
                <p>
                    <label>
                        Giá từ
                    </label>
                    <input type="text" value="<?php echo $this->priceFrom ?>" name="price_from" id=""price_from"" class="input-text-1" />
                    <label>
                        Đến
                    </label>
                    <input type="text" value="<?php echo $this->priceTo ?>" name="price_to" id="price_to" class="input-text-1" />
                </p>
                <p>
                    <input type="submit" value="Tìm kiếm" name="btnSearch" id="btnSearch" class="input-submit" />
                </p>
            </fieldset>
        </form>
    </div>
    <div class="block-sidebar">
        <h3>Thương hiệu</h3>
        <dl>
        	<?php 
        	foreach($this->lstMenu as $index=>$menu):
        	?>	
        	<dt id="<?php echo('dt_' . $index);?>" onclick="expand_collapse('<?php echo($index);?>');">
        		<?php echo $menu['cat_name'] . ' [-]'?>
        	</dt>
        	<dd>
	        	<ul id="<?php echo('ul_' . $index);?>">
	        		<?php foreach($menu['lstDimension'] as $dimension) : ?>
	        		<li>
	        			<a href="<?= $this->baseUrl('/site/product/cat_id/' . $menu['cat_id'] . '/dim_id/' . $dimension['dim_id']) ?>" title="<?php echo $dimension['dim_value'] ?>"><?php echo $dimension['dim_value'] ?></a>
	        		</li>
	        		<?php endforeach; ?>
	        	</ul>
        	</dd>
        	<?php 
        	endforeach;
        	?>
        	<!--  
            <dt class="orther">
                các thương hiệu khác
            </dt>
            <dd>
                <ul>
                    <li>
                        <a href="#" title="Tỉ lệ 1/18">Tỉ lệ 1/18</a>
                    </li>
                    <li>
                        <a href="#" title="Tỉ lệ 1/24">Tỉ lệ  1/24</a>
                    </li>
                    <li>
                        <a href="#" title="Tỉ lệ khác">Tỉ lệ khác</a>
                    </li>
                </ul>
            </dd>
            -->
        </dl>
        <!-- 
        <div class="block-sidebar other">
            <h3>Sản phẩm khác</h3>
            <ul>
                <li>
                    <a href="#" title="Đèn leb">Đèn leb</a>
                </li>
                <li>
                    <a href="#" title="Đèn leb">Đèn leb</a>
                </li>
            </ul>
        </div>
         -->
    </div>
</div>

